package com.ishopping.api.manage.entity;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by JIM on 2016/8/10.
 */
public class LoginToken extends UsernamePasswordToken{
    private static final long serialVersionUID = 1L;

    private String captcha;

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public LoginToken() {
        super();
    }

    public LoginToken(String username, char[] password, boolean rememberMe, String host, String captcha) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
    }
}
